package com.github.ecbp.store.service.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.github.ecbp.common.data.mapper.BaseMapper;
import com.github.ecbp.store.service.entity.ProductAttribute;
import com.github.ecbp.store.service.vo.ProductAttributeVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Created by Alex·He on 2020/4/29 11:27
 * @Version 1.0
 * @Description 商品属性表(ProductAttribute)表数据库访问层
 */
public interface ProductAttributeMapper extends BaseMapper<ProductAttribute> {
    List<ProductAttributeVO> selectPageWithProductCategory(IPage<ProductAttributeVO> page, @Param(Constants.WRAPPER) Wrapper<ProductAttribute> wrapper);
}
